package com.qingcheng.service.impl;

import org.junit.Test;

public class testDemo {




   // @Test
    public void test(){

        String str= "abcdefg";

        String substring = str.substring(0, str.length() - 1);

        String substring1 = substring.substring(1, substring.length());

        System.out.println(substring);

        System.out.println(substring1);


    }
}
